﻿using SX.Core;
using System;
using System.Collections.Generic;
using System.Text;

namespace SX.BaseService.Service
{
    /// <summary>
    /// 文件上传配置
    /// </summary>
    public class FileUploadSetting
    {
        /// <summary>
        /// 文件服务器
        /// </summary>
        public FileServer Server { get; set; } = FileServer.Localhost;

        /// <summary>
        /// 文件保存目录 默认存wwwroot
        /// </summary>
        public string FilePath { get; set; } = "upload";
        /// <summary>
        /// 文件类型
        /// </summary>
        public string Ext { get; set; }

    }
}
